﻿using System;

namespace Dgg.Anug.Cqrs.Core.Infrastructure
{
	public static class Time
	{
		internal static Func<DateTimeOffset> _utcProvider = () => DateTimeOffset.UtcNow;
		public static DateTimeOffset UtcNow { get { return _utcProvider(); } }

		internal static Func<DateTimeOffset> _provider = () => DateTimeOffset.Now;
		public static DateTimeOffset Now { get { return _provider(); } }
	}
}
